<template>
    <Menu theme="light" :open-names="['2-1']" accordion>
        <Submenu name="1">
            <template #title>
                <!-- <Icon type="ios-paper" /> -->
                内容管理
            </template>
            <MenuItem name="1-1">举报管理</MenuItem>
            <Submenu name="1-2">
                <template #title>
                    岁的法国
                </template>
                <MenuItem name="1-2-1">我的风格</MenuItem>
                <MenuItem name="1-2-2">二分v从</MenuItem>
                <MenuItem name="1-2-3">无视对方</MenuItem>
            </Submenu>
        </Submenu>
        <Submenu name="2">
            <template #title>
                <!-- <Icon type="ios-people" /> -->
                用户管理
            </template>
            <MenuItem name="2-1">新增用户</MenuItem>
            <MenuItem name="2-2">活跃用户</MenuItem>
        </Submenu>
    </Menu>
</template>
<script>
    export default{
        props:{

        },
        data(){
            return{
                navList:[
                    {
                        'id':"1",
                        'name':'1',
                        'nodeName':"主题数据中心",
                        'nodeType':"顶级目录",
                        'parentId':"0",
                        'parentName':null,
                        'children': [
                            {
                                "id": "1674366869149184001",
                                "parentId": "1",
                                'name':'1-1',
                                "parentName": null,
                                "nodeType": "主题目录",
                                "nodeName": "测试主题数据集2",
                                "children": [
                                    {
                                        "id": "1686644227082362881",
                                        'name':'1-1-1',
                                        "parentId": "1674366869149184001",
                                        "parentName": "测试主题数据集2",
                                        "nodeType": "数据集",
                                        "nodeName": "测试",
                                        "children": null
                                    }
                                ]
                            },
                            {
                                "id": "1680479638481350658",
                                "parentId": "1",
                                'name':'1-2',
                                "parentName": null,
                                "nodeType": "主题目录",
                                "nodeName": "飞行数据",
                                "children": [
                                    {
                                        "id": "1680479824922357761",
                                        "parentId": "1680479638481350658",
                                        "parentName": "飞行数据",
                                        'name':'1-2-1',
                                        "nodeType": "数据集",
                                        "nodeName": "模型飞行数据",
                                        "children": null
                                    }
                                ]
                            },
                            {
                                "id": "1671329103301697537",
                                "parentId": "1",
                                "parentName": null,
                                "nodeType": "主题目录",
                                "nodeName": "测试主题数据集1",
                                'name':'1-3',
                                "children": [
                                    {
                                        "id": "1674367333592854529",
                                        "parentId": "1671329103301697537",
                                        "parentName": "测试主题数据集1",
                                        'name':'1-3-1',
                                        "nodeType": "数据集",
                                        "nodeName": "日志数据",
                                        "children": null
                                    },
                                    {
                                        "id": "1674367264038711298",
                                        "parentId": "1671329103301697537",
                                        'name':'1-3-2',
                                        "parentName": "测试主题数据集1",
                                        "nodeType": "数据集",
                                        "nodeName": "质量日志",
                                        "children": null
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        }
    }
</script>